package com.orange.feign.hystrix;

import com.orange.feign.api.ServiceFeign;
import org.springframework.stereotype.Component;

@Component
public class ServiceFeignHystrix implements ServiceFeign {

    // 需关闭服务提供者eureka-orange,来模拟服务宕机的情况
    @Override
    public String sayHelloFromServiceFeignTwo(String name) {
        return "hello " + name + ", this message send failed";
    }
}
